Dekoratives Banner

alert() Global Function


    alert(text)

Description

    The Alert global function opens an alert dialog which can contain a text alert. The user then has the option of clicking "okay" to close the window.

Parameters

    text

    text string that is displayed in the dialog, which can display up to 240 characters

Example

    alert ( "Your pants are on fire.");